package com.zan.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zan.springcloud.entity.CommonResult;

/**
 * @Author Zan
 * @Create 2024/1/6 17:17
 * @Description :
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(4444, "自定义的限流处理信息......CustomerBlockHandler ----- 1");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(4444, "自定义的限流处理信息......CustomerBlockHandler ----- 2");
    }

}
